#include"LinkList.h"

int main()
{
	LNode* plist = NULL;
	InitList(&plist);
	InserFrontList(plist, 1);
	InserFrontList(plist, 2);
	InserFrontList(plist, 3);
	InserFrontList(plist, 4);
	PrintNode(plist);


	InsertBackList(plist, 10);
	InsertBackList(plist, 20);
	InsertBackList(plist, 30);
	PrintNode(plist);

	DelList(plist,4);
	DelList(plist,10);
	DelList(plist, 30);
	PrintNode(plist);

	InertList(plist, 3, 100);
	PrintNode(plist);

	DestroyList(plist);

}
